﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace create_folders
{
    class Program
    {
        static void Main(string[] args)
        {             
            int c = 0;
            //string ext = "txt";
            int counter = 0;

            while (c <= 2)
            {
                Directory.CreateDirectory(Environment.CurrentDirectory + "\\" + c);

                char i = 'A';

                while (i <= 'B')
                {                    
                    File.WriteAllText(Environment.CurrentDirectory + "\\" + c + "\\" + i + ".txt",(String.Format("{0},{1}",counter,DateTime.Now)));
                    i++;
                    counter++;
                }
                c++;
            }
        }
    }
}
;